/*
 * Copyright (C) 2005, Velocityme Partnership
 * LinkDTO.java
 *
 * Created on 17 July 2005, 04:33
 */

package com.velocityme.www.dto;

import com.velocityme.entity.Node;

/**
 *
 * @author  Robert
 */
public class LinkDTO implements java.io.Serializable {
    
    private boolean deletable;
    private Node node;
    private Long m_nodeId;
    private String m_nodePathName;
    
    /** Creates a new instance of LinkDTO */
    public LinkDTO(boolean deletable, Node node) {
        this.deletable = deletable;
        this.node = node;
    }
    
    public boolean isDeletable() {
        return deletable;
    }
    
    public Node getNode() {
        return node;
    }

    public Long getNodeLinkId() {
        return node.getId();
    }
    
}
